﻿using System;
using System.Collections.Generic;
using System.Data.Entity.ModelConfiguration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Himall.Entity.Config
{
   public class ShopBranchManagersInfoConfig : EntityTypeConfiguration<ShopBranchManagersInfo>
    {
        public ShopBranchManagersInfoConfig()
        {
            ToTable("Himall_ShopBranchManagers");
            Property(item => item.UserName).HasColumnType("varchar").HasMaxLength(50);
            Property(item => item.Password).HasColumnType("varchar").HasMaxLength(100);
            Property(item => item.PasswordSalt).HasColumnType("varchar").HasMaxLength(100);
            Property(item => item.RealName).HasColumnType("varchar").HasMaxLength(1000);
            Property(item => item.Remark).HasColumnType("varchar").HasMaxLength(1000);
        }
    }
}
